package razorpay

type OrderRequest struct {
	Amount         int64  `json:"amount"`
	Currency       string `json:"currency"`
	Receipt        string `json:"receipt"`
	PaymentCapture string `json:"payment_capture"`
}

/*
{
	"id": "order_EPkS6s6eERgWOR",
	"entity": "order",
	"amount": 50000,
	"amount_paid": 0,
	"amount_due": 50000,
	"currency": "INR",
	"receipt": "RZ1583675701242909000570434",
	"offer_id": null,
	"status": "created",
	"attempts": 0,
	"notes": [],
	"created_at": 1583675705
}
*/
type RazorCreateOrderResponse struct {
	Id         string `json:"id"`
	Entity     string `json:"entity"`
	Amount     int64  `json:"amount"`
	AmountPaid int64  `json:"amount_paid"`
	AmountDue  int64  `json:"amount_due"`
	Currency   string `json:"currency"`
	Receipt    string `json:"receipt"`
	Status     string `json:"status"`
	Attempts   int    `json:"attempts"`
	CreatedAt  int    `json:"created_at"`
}

type RazorPaymentCallback struct {
}
